package com.young.web.ec.persistence.repository;

import java.util.List;

import org.springframework.data.repository.CrudRepository;

import com.young.web.ec.persistence.domain.MenuItem;

public interface MenuItemRepository extends CrudRepository<MenuItem, String> {

	List<MenuItem> findByIngredientsNameIn(String... name);

	void delete(String key);

	MenuItem findById(String key);

	Iterable<MenuItem> findAll();
}
